<div class="frm-login">
	<form action="<?php echo getController('url'); ?>login-validate" method="post" onsubmit="" class="form-signin">
		<!-- <h2 class="form-signin-heading">Please sign in</h2> -->
		<a href="<?php echo PARENT_URL; ?>"><img src="<?php echo IMG; ?>logo-admin.jpg" width="" height="" class="logo"></a>
		<input type="email" placeholder="E-mail address" id="username" name="data[txt-username]" class="txt-email input-block-level" required>
		<input type="password" placeholder="Password" name="data[txt-password]" class="txt-password input-block-level" required>
		<button type="submit" class="btn btn-small">Sign in</button>
		<?php			
	if(isset($sb_error)){
		if($sb_error == b64encode(0)){
			echo '<span class="invalid">Invalid username or password</span>
			';
			echo '
				<script>				
					$("#username").focus();
				</script>
			';
		}
	}
	?>
	</form>
</div>